package com.ibeeking.found.log.service.mapper;

import com.ibeeking.found.common.base.BaseMapper;
import com.ibeeking.found.log.service.common.bo.LogCodeGroupBO;
import com.ibeeking.found.log.service.common.dos.LogCodeGroupDO;
import com.ibeeking.found.log.service.common.query.LogCodeGroupPageQuery;
import com.ibeeking.found.log.service.common.query.LogCodeGroupQuery;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


public interface LogCodeGroupMapper extends BaseMapper<LogCodeGroupDO> {

    Integer physicalDelByCodeId(@Param("codeId") Long codeId);

    Integer physicalDelByGroupId(@Param("groupId") Long groupId);

    Page<LogCodeGroupBO> selectPageList(Page page, @Param("query") LogCodeGroupPageQuery query);

    List<LogCodeGroupBO> selectBoList(@Param("query") LogCodeGroupQuery query);


}